package com.h3c.nem.utils;

import com.eos.common.custom.BusinessException;

public class AppBusinessException extends BusinessException {

    public AppBusinessException(String message) {
        super(BusiEnumDefine.COMMON_BUSI_ERROR_CODE, message);
    }

    public AppBusinessException(Integer errorCode, String message) {
        super(errorCode, message);
    }

    public AppBusinessException(ErrorCodeEnum errorCodeEnum) {
        super(errorCodeEnum.getCode(), errorCodeEnum.getMassage());
    }
}
